package com.ls.lserp.modules.purchase.dao;


import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.purchase.entity.PuttingRequest;

/**
 * @ClassName: InventoryRequest
 * @Description: 分类接口
 * 
 * @author 
 * @date 2017年04月14日 
 *
 */

@MyBatisDao
public interface PuttingRequestDao extends CrudDao<PuttingRequest>{
	/**
	  * @Title: findRequestDetail
	  * @Description: 出库申请明细
	  * @param @param inventoryRequest
	  * @param @return
	  * @return List<InventoryRequestEx> 
	  * @throws
	  */
	public List<PuttingRequest> findRequestDetail(PuttingRequest puttingRequest);
	
	/**
	  * @Title: findBrandList
	  * @Description: 生产制单
	  * @param @param inventoryRequest
	  * @param @return
	  * @return List<InventoryRequest> 
	  * @throws
	  */
	public List<PuttingRequest> findStyleList(PuttingRequest puttingRequest);
	/**
	  * @Title: findBrandList
	  * @Description: 生产制单
	  * @param @param inventoryRequest
	  * @param @return
	  * @return List<InventoryRequest> 
	  * @throws
	  */
	public List<PuttingRequest> findPuttingContractList(PuttingRequest puttingRequest);
	/**
	  * @Title: findBrandList
	  * @Description: 生产制单
	  * @param @param inventoryRequest
	  * @param @return
	  * @return List<InventoryRequest> 
	  * @throws
	  */
	public List<PuttingRequest> findFabricatingList();
	/**
	 * 获取生产制单相关信息
	 * @param inventoryRequest
	 * @return
	 */
	public PuttingRequest getPuttingContractInfo(PuttingRequest puttingRequest);
	/**
	 * 入库申请单
	 * @param inventoryRequest
	 * @return
	 */
	public int insertInventoryRequestEX(PuttingRequest puttingRequest);
	
	/**
	 * 入库申请单详细
	 * @param inventoryRequest
	 * @return
	 */
	public int insertInventoryRequestDetails(PuttingRequest puttingRequest);
	
	/**
	  * @Title: deleteRequestDetails
	  * @Description: 物理删除入库申请明细
	  * @param @param inventoryRequest
	  * @param @return
	  * @return int 
	  * @throws
	  */
	public int deleteRequestDetails(PuttingRequest puttingRequest);
	
	/**
	  * @Title: updateInventoryRequest
	  * @Description: 更新入库申请
	  * @param @param inventoryRequest
	  * @param @return
	  * @return int 
	  * @throws
	  */
	public int updateInventoryRequestEx(PuttingRequest puttingRequest);
	
	/**
	  * @Title: findRequestDetailsList
	  * @Description: 面辅料
	  * @param @param inventoryRequest
	  * @param @return
	  * @return List<InventoryRequest> 
	  * @throws
	  */
	public List<PuttingRequest> findMaterial(PuttingRequest puttingRequest);
}
